local juenu_use = fk.CreateSkill {
  name = "#th_juenu_use",
}

juenu_use:addEffect("viewas", {
  name = "#th_juenu_use",
  pattern = "slash",
  card_num = 1,
  card_filter = function(self, player, to_select, selected)
    return #selected == 0 and Fk:getCardById(to_select).type == self.juenu_type
  end,
  view_as = function(self, player,cards)
    if #cards == 0 then return end
    local c = Fk:cloneCard("slash")
    c.skillName = "th_juenu"
    return c
  end
})

return juenu_use